class Student{
    public String name;
    public int age;
    public String stuNum;

    public Student(String name, int age, String stuNum) {
        this.name = name;
        this.age = age;
        this.stuNum = stuNum;
    }

    public void eatFood(String name, int age, String stuNum){
        System.out.println(this.name + "在吃饭");
    }

    public static void main(String[] args) {
        Student student = new Student("zhangsan",17,"2117");
        System.out.println(student.age);
        System.out.println(student.name);
        System.out.println(student.stuNum);
    }
}


public class Text {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}



